package com.woniu.jifen.mapper;


import com.woniu.jifen.dto.CouPonDto;
import com.woniu.jifen.entity.AUserCoupon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author s‘’w
* @description 针对表【a_user_coupon(用户优惠券)】的数据库操作Mapper
* @createDate 2024-05-21 19:29:03
* @Entity com.woniu.jifen.entity.AUserCoupon
*/
public interface AUserCouponMapper extends BaseMapper<AUserCoupon> {
    List<CouPonDto> queryByUserId(Integer userId);
    List<CouPonDto> queryUsersCouponBySortId(@Param("userId") Integer userId, @Param("sortId")Integer sortId);
}




